﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Search.aspx.cs" Inherits="KBVault.Web.Public.Search" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="container" runat="server" id="htmlResults">
        <div class="row">
            <asp:Repeater runat="server" ID="rptSearchResults" OnItemDataBound="rptSearchResults_ItemDataBound">
                <ItemTemplate>
                    <asp:HyperLink runat="server" ID="linkToArticle"></asp:HyperLink>
                    <p runat="server" id="articleContent">
                    </p>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <div class="row">
            <asp:Button runat="server" ID="btnPrev" CssClass="btn btn-primary" 
                Text="<< Previous" onclick="btnPrev_Click" Visible="false" />
            <asp:Button runat="server" ID="btnNext" CssClass="btn btn-primary pull-right" Visible="false"
                Text="Next >>" onclick="btnNext_Click" />
        </div>
    </div>    
    <p class="lead" runat="server" id="htmlNoHits">
        Nothing found. Sorry :(
    </p>
</asp:Content>
